package com.wn.dao;

import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

@Repository("userDao")
public class UserDaoImpl implements UserDao {
    @Override
    public void addUser(String s) {
        System.out.println("UserDaoImpl.addUser" +s);
    }

    @Override
    public List findAll() {
        ArrayList objects = new ArrayList();
        objects.add("sad");
        objects.add("sad");
        objects.add("sad");
        System.out.println("UserDaoImpl.findAll");
        return objects;
    }

    @Override
    public void deleteUser() {
        System.out.println("UserDaoImpl.deleteUser");

    }

    @Override
    public void updateUser() {

        System.out.println("UserDaoImpl.updateUser");
    }
}
